package com.zsrd.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsrd.system.domain.SysPower;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xxx
 * @since 2023-11-23
 */
@Mapper
public interface SysPowerMapper extends BaseMapper<SysPower> {


    IPage<SysPower> list(@Param("page") Page<SysPower> page, @Param("sysPower") SysPower sysPower);

    SysPower selectByCode(@Param("powerCode") String powerCode);

    IPage<SysPower> listAll(@Param("page") Page<SysPower> page, @Param("sysPower") SysPower sysPower);
}
